package com.ruoyi.framework.sso.domain;

import java.util.List;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 用户中心返回的用户信息
 */
@JsonIgnoreProperties(ignoreUnknown = true)
public class UserCenterUserInfo
{
    /**
     * 用户唯一标识
     */
    private String sub;

    /**
     * 推荐用户名
     */
    @JsonProperty("preferred_username")
    private String preferredUsername;

    /**
     * 手机号码
     */
    private String phone;

    /**
     * 真实姓名
     */
    @JsonProperty("fullName")
    private String fullName;

    /**
     * 头像地址
     */
    private String picture;

    /**
     * 所属部门
     */
    private List<UserCenterDepartment> departs;

    public String getSub()
    {
        return sub;
    }

    public void setSub(String sub)
    {
        this.sub = sub;
    }

    public String getPreferredUsername()
    {
        return preferredUsername;
    }

    public void setPreferredUsername(String preferredUsername)
    {
        this.preferredUsername = preferredUsername;
    }

    public String getPhone()
    {
        return phone;
    }

    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getFullName()
    {
        return fullName;
    }

    public void setFullName(String fullName)
    {
        this.fullName = fullName;
    }

    public String getPicture()
    {
        return picture;
    }

    public void setPicture(String picture)
    {
        this.picture = picture;
    }

    public List<UserCenterDepartment> getDeparts()
    {
        return departs;
    }

    public void setDeparts(List<UserCenterDepartment> departs)
    {
        this.departs = departs;
    }
}
